package com.zingrow.web.user.model;

import java.util.List;

import com.zingrow.web.report.model.RptCycle;

/**
 * 用户身份信息，存入session 由于tomcat将session会序列化在本地硬盘上，所以使用Serializable接口
 * 
 * @author
 * 
 */
public class ActiveUser implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	
	private String phoneType;//手机型号
	
	public String getPhoneType() {
		return phoneType;
	}

	public void setPhoneType(String phoneType) {
		this.phoneType = phoneType;
	}

	public String getPhoneSystem() {
		return phoneSystem;
	}

	public void setPhoneSystem(String phoneSystem) {
		this.phoneSystem = phoneSystem;
	}

	public String getLoginType() {
		return loginType;
	}

	public void setLoginType(String loginType) {
		this.loginType = loginType;
	}

	private String phoneSystem;//手机版本
	
	private String loginType;// 登录类型;0自动登录 1过期登录

	private Integer userId;// 用户id（主键）

	private String userAccount;// 用户账号
	
	private String userName;// 用户名称

	private String userPwd;// 用户密码

	private List<Permission> menus;// 菜单权限

	private Integer userType;// 用户类型
	
	private  Integer singleLogin;//
	
	//private String cycle; //报告类型
	
	private String groupimage;//组织头像
	
	private String groupname;//组织名称
	
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	public String getGroupname() {
		return groupname;
	}

	public void setGroupname(String groupname) {
		this.groupname = groupname;
	}

	private List<RptCycle> cyclelist; //周期集合
	

	public String getGroupimage() {
		return groupimage;
	}

	public void setGroupimage(String groupimage) {
		this.groupimage = groupimage;
	}

	public Integer getSingleLogin() {
		return singleLogin;
	}

	public void setSingleLogin(Integer singleLogin) {
		this.singleLogin = singleLogin;
	}

	public Integer getUserType() {
		return userType;
	}

	public void setUserType(Integer userType) {
		this.userType = userType;
	}

	public List<Permission> getMenus() {
		return menus;
	}

	public void setMenus(List<Permission> menus) {
		this.menus = menus;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public String getUserPwd() {
		return userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	public List<RptCycle> getCyclelist() {
		return cyclelist;
	}

	public void setCyclelist(List<RptCycle> cyclelist) {
		this.cyclelist = cyclelist;
	}




	/*public String getCycle() {
		return cycle;
	}

	public void setCycle(String cycle) {
		this.cycle = cycle;
	}*/
	
}
